package com.ruoyi.farmwell.fault.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机井故障表对象 well_fault
 * 
 * @author zjp
 * @date 2024-08-09
 */
public class WellFault extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private Long wellId;

    /**  */
    @Excel(name = "")
    private String wellNumber;

    /**  */
    @Excel(name = "")
    private String faultCause;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date faultTime;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /**  */
    @Excel(name = "")
    private String isHandle;

    /** 上报人姓名 */
    @Excel(name = "上报人姓名")
    private String reportName;

    /** 上报人电话 */
    @Excel(name = "上报人电话")
    private String reportTel;

    /** 上报图片地址 */
    @Excel(name = "上报图片地址")
    private String reportImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWellId(Long wellId) 
    {
        this.wellId = wellId;
    }

    public Long getWellId() 
    {
        return wellId;
    }

    public String getWellNumber() {
        return wellNumber;
    }

    public void setWellNumber(String wellNumber) {
        this.wellNumber = wellNumber;
    }

    public void setFaultCause(String faultCause)
    {
        this.faultCause = faultCause;
    }

    public String getFaultCause() 
    {
        return faultCause;
    }
    public void setFaultTime(Date faultTime) 
    {
        this.faultTime = faultTime;
    }

    public Date getFaultTime() 
    {
        return faultTime;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setIsHandle(String isHandle) 
    {
        this.isHandle = isHandle;
    }

    public String getIsHandle() 
    {
        return isHandle;
    }
    public void setReportName(String reportName) 
    {
        this.reportName = reportName;
    }

    public String getReportName() 
    {
        return reportName;
    }
    public void setReportTel(String reportTel) 
    {
        this.reportTel = reportTel;
    }

    public String getReportTel() 
    {
        return reportTel;
    }
    public void setReportImg(String reportImg) 
    {
        this.reportImg = reportImg;
    }

    public String getReportImg() 
    {
        return reportImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wellId", getWellId())
            .append("wellNumber", getWellNumber())
            .append("faultCause", getFaultCause())
            .append("faultTime", getFaultTime())
            .append("reportTime", getReportTime())
            .append("isHandle", getIsHandle())
            .append("reportName", getReportName())
            .append("reportTel", getReportTel())
            .append("reportImg", getReportImg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
